package com.jar.exercise.设计模式.工厂.抽象工厂.factory;

import com.jar.exercise.设计模式.工厂.抽象工厂.pojo.DellKeyboard;
import com.jar.exercise.设计模式.工厂.抽象工厂.pojo.DellMonitor;
import com.jar.exercise.设计模式.工厂.抽象工厂.pojo.DellMouse;
import com.jar.exercise.设计模式.工厂.抽象工厂.pojo.abs.Product;

public class DellFactory implements ProductFactory {

    @Override
    public Product createKeyboard() {
        return new DellKeyboard();
    }

    @Override
    public Product createMouse() {
        return new DellMouse();
    }

    @Override
    public Product createMonitor() {
        return new DellMonitor();
    }
}
